<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./download (3)/font_2800081_cram5cwon8j/iconfont.css">
    <title>Document</title>
    <style>
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            height: 50px;
            /* background: red; */
        }

        .header .header-left {
            display: flex;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .header .header-left li {
            padding: 0 15px;
        }

        .header .header-left li:hover {
            color: blue;
        }

        .header .header-right {
            display: flex;
        }

        .header .header-right div {
            padding: 2px 15px;
            font-size: 14px;
        }

        .header .header-right div:nth-child(2) {
            background: blue;
            color: #ffffff;
            border-radius: 5px;
        }

        .content {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 300px;
            /* background: red; */
        }

        .content img {
            width: 300px;
            height: 150px;
        }

        .content .search {
            position: relative;
            display: flex;
            width: 600px;
            height: 44px;
        }

        .content .search input {
            width: 492px;
            height: 44px;
            padding: 0;
            border: 2px solid #ddd;
            box-sizing: border-box;
            outline: none;
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
            padding-right: 25px;
            border-right: none;
        }
        
        .content .search .icon-loudou {
            position: absolute;
            top: 50%;
            right: 115px;
            margin-top: -8px
        }

        .content .search .search-btn {
            width: 108px;
            height: 44px;
            background: blue;
            text-align: center;
            line-height: 44px;
            color: #fff;
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
        }

        .new-list {
            width: 600px;
            height: 300px;
            margin: 0 auto;
        }

        .new-list .new-header {
            width: 100%;
            height: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .new-list ul {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .new-list ul li {
            width: 50%;
            height: 40px;
            line-height: 40px;
        }

        .new-list ul li:nth-child(2n-1) {
            color: orange;
        }
    </style>
</head>
<body>
    <div class="header">
        <ul class="header-left">
            <li>新闻</li>
            <li>新闻</li>
            <li>新闻</li>
            <li>新闻</li>
            <li>新闻</li>
            <li>新闻</li>
            <li>新闻</li>
        </ul>
        <div class="header-right">
            <div>设置</div>
            <div>登录</div>
        </div>
    </div>

    <div class="content">
        <img src="./images/baidu.png" alt="">

        <div class="search">
            <input type="text">
            <span class="iconfont icon-loudou"></span>
            <div class="search-btn">百度一下</div>
        </div>
    </div>

    <div class="new-list">
        <div class="new-header">
            <div>百度热搜</div>
            <div>换一换</div>
        </div>

        <ul>
            <li>1 测试文字测试文字测试文字测试文字</li>
            <li>1 测试文字测试文字测试文字测试文字</li>
            <li>1 测试文字测试文字测试文字测试文字</li>
            <li>1 测试文字测试文字测试文字测试文字</li>
            <li>1 测试文字测试文字测试文字测试文字</li>
            <li>1 测试文字测试文字测试文字测试文字</li>
        </ul>
    </div>
</body>
</html>